Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: SHM watchdog #596

Closed

Conversation

yellowhatter
Copy link
Contributor

No description provided.

@fuzzypixelz
Copy link
Member

@yellowhatter Please change your pull request's base branch to main (new default branch). And rebase your branch against main as it is missing a status check necessary to merge this pull request but which is only available on main.

fuzzypixelz and others added 18 commits January 15, 2024 11:53
* chore: Rename Cargo config file

* feat: Sync lockfile with Zenoh dependant crates
eclipse-zenoh-bot can't approve its own pull requests.
Since eclipse-zenoh repos don't require approvals for merging pull requests,
this is the simplest solution for now. If approvals are needed in the future,
workflows on the dependant repos will be needed.
…Pair (eclipse-zenoh#653)

* Add a CallbackPair handler implementing Drop and IntoCallbackReceiverPair

* fix typo
* implement key expression namespaces

* implement verbatim chunks

* fix bug in includes

---------

Co-authored-by: Pierre Avital <[email protected]>
* made runtime state fields private

* RuntimeState private

* removing ValidationFunction unfinished

* make validator function

* removed validation function

* removed cyclic reference

* format fix

* clippy fix

* unfinished

* zenoh-plugin-trait corrected

* version control unfinished

* loader compatibility version

* string version  with features

* concat_enabled_features

* example storage plugin

* config corrected for example storage plugin

* example storage plugin works as memory one

* support load api from example stroage plugin

* unifying plugn loading unfinished

* replaced volumes map to plugin_manager

* static memory unfinihed

* plugin manager refactor

* plugin manager api update

* running plugin index added

* safer plugin load api, unfinished

* compiles

* static memory plugin fix

* compare version improved

* moved feature list to crate level

* linter fix

* unfinished

* unfinished

* send + sync problem

* unfinished

* unfinished

* compilation errors fixed

* compiles

* memory plugin loading fix

* startargs and instance traits

* plruings method  cow

* plugin trait sources reorganised

* get plugin names list recursively

* pligins method unifinshed

* strip_prefix

* adminspace

* renamed loading to manager

* log prints, recurse info

* adminspace works

* fixed compilation of  example-plugin

* debug error removed

* unfinished

* plugin version in compatibility api

* version in plugin status unfinished

* version works

* status method removed from trait

* removed tuple

* format fix

* commented out plugins section in config sample

* doc test fixed

* no-mangled feature added to test

* test for default zenohd features

* tests added, leaking through zenoh-ext fixed

* no feature test added

* cargo fmt

* removed global Arc import as it's under features

* cargo fmt

* removed incorrect test, right one in zenohd

* duplicated import fix

* compilation fix

* compilation fix

* compilation fix

* compilation errors fixed

* nom_mangle in lib removed

* no full failure due to one storage

* config for testing plugins, error s logging

* no_mangle in example

* compile fixes

* dds plugin tested

* cargo fmt

* removed reexport of ZResult and Runtime types from plugin mod

* doc comments updated

* renaming, removed unused type

* constant version string

* macro simplified

* doc updated, version macro added

* version simplified, cargo fmt

* unused use removed

* long_version field added

* default impls for RunningPluginTrait, doc comments

* todos added

* cargo fmt

* diagnostic improved, test config partially made, path renamings

* diagnostic improved, test config partially made, path renamings

* incorrect warn replaced to debug

* no_mangle into plugin's code

* all plugins covered in test config

* comments update

* cargo fmt

* restored cargo.lock

* undo changes in DEFAULT_CONFIG

* compatibility code in separate .rs, minor changes

* comments to declare_plugin

* renamings, removed unnecessary sample configs

* cargo fmt

* debug code removed

* log::info changed to log::debug
* fix: Remove `gen_zenoh_deb.sh`

* fix: Add `-1` revision to Debian dependency version

* fix: Update copyright notice
* Able to unwrap while using reply with attachment.

Signed-off-by: ChenYing Kuo <[email protected]>

* Add Debug trait to other Builder.

Signed-off-by: ChenYing Kuo <[email protected]>

---------

Signed-off-by: ChenYing Kuo <[email protected]>
* fix: Remove redudant phrase in issue template desc

* feat: Expand issue templates

* feat: Add update-release-project workflow

* feat: Add enforce-linking-issues workflow

* fix: Typo (TOKEN_BOT_WORKFLOW -> BOT_TOKEN_WORKFLOW)

* fix: Language edits

* fix: Use one generic release item template
* Fix matching_statu_* test failures

* Cargo clippy

* Revert the use of Result

* Kick CI
vivekpandey02 and others added 29 commits March 1, 2024 12:13
* fix User-Password authentication 

Update usrpwd.rs to handle whitespace and blank lines in credentials.txt

* Format usrpwd.rs file
…write and it's elision as an optimization for SHM buffers
* Interceptors caches

* Update LoggerInterceptor

* Add ComputeOnMiss Interceptor
* chore: Apply clippy lints from Rust 1.76

* fix: Use clippy from Stable Rust in CI and Release workflows

* chore: Cargo fmt run

* chore: Apply Clippy lints from Rust 1.76 (manual)
- added ZSliceMut and it's functionality
- documented public SHM APIs
- brush-up for SHM API
- hide SharedMemoryBuf from API and return ZSlice instead
- add is_valid() for ZSlice that checks generation counter on SHM
* Implement caching for downsampling interceptor

* Rename rate to freq

* Improve test stability
Conflicts:
	Cargo.lock
	commons/zenoh-shm/Cargo.toml
	zenoh/src/session.rs
…iles-from-branch

feat: Support non-default branch in sync-lockfiles workflow
- ZSliceMut API changed
- ZSliceBuffer: different API for shared-memory feature
- Hide unnecessary APIs from pub in SharedMemoryReader
- Fix default alignment calculation for AllocAlignment
- Expose necessary SHM API in zenoh crate
- Brush-up examples
- Fix shmbuf to rawbuf conversion
Merge commit '4537dc26553397a4865953e46cacd6ed2ba5cfb6'

Conflicts:
	Cargo.lock
- ignore some tests because they need to be run globally sequentially
- transit shared-memory feature to zenoh-buffers in zenoh-transport
- async-io
- unix-named-pipe
- filepath
- advisory-lock
* wip: Improve Release workflow

* feat: Add DockerHub & GHCR releases

* feat: Refactor checks and tests into pre-release workflow

* chore: Remove crates_check.sh and crates_publish.sh

* fix: Remove Dockerfile
…res_fix

build plugins with default zenoh features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

SHM Provider API